range: Simplify highlight allocation
authorMatthias Clasen <mclasen@redhat.com>
Sat, 26 Mar 2016 17:50:42 +0000 (13:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 26 Mar 2016 17:50:42 +0000 (13:50 -0400)
commit7fe1037e84ffa867d83e73801ed59beea05bce2a
tree02322ac833c839461ad8220249541ce2d07034d9
parente33188ad41095112a4342d570ab441f18d2e1416
range: Simplify highlight allocation

Since we are really only interested in the center point of the
slider allocation, the pre-computed slider geometry is perfectly
fine, just use it always. This avoids the complication with
gadget visibility.
gtk/gtkrange.c